package com.senta.elasticsearch.config;

import org.elasticsearch.client.RestClient;
import org.elasticsearch.client.RestClientBuilder;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author anyang
 * Email: 1300378587@qq.com
 * Created Date:2019-11-19 12:44
 */
@Configuration
public class ElasticsearchConfig{
//    @Bean
//    public RestClient elasticsearchRestClient(RestClientBuilder builder) {
//        return builder.build();
//    }
}
